package com.example.block_chain.service;

import org.springframework.stereotype.Service;

import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.List;

/*
 *@description: oss文件上传功能
 *@author: hisen
 *@Time: 2023/10/28  17:02
 */
@Service
public interface OSSUploadService {

    List<String> getImagesUrl(List<String> filesName) throws UnsupportedEncodingException;

    String upload(InputStream inputStream, String fileDir) throws IOException;

    String resumeUpload(InputStream inputStream) throws IOException;
}
